package de.jmda.mview.typeshape;

public enum RectangleSide
{
	TOP,
	RIGHT,
	BOTTOM,
	LEFT;
	
	public final static boolean isHorizontal(RectangleSide rectangleSide)
	{
		return (rectangleSide == TOP) || (rectangleSide == BOTTOM);
	}
	
	public final static boolean isVertical(RectangleSide rectangleSide)
	{
		return isHorizontal(rectangleSide) == false;
	}
}